package br.mg.bhe.ftpobre.fs.data.xml;

import java.io.File;

import br.mg.bhe.ftpobre.util.XmlUtil;

/**
 * 
 * @author Aureliano
 */
public final class XmlReader {

	private XmlReader() {
		super();
	}
	
	@SuppressWarnings("rawtypes")
	public static Object read(IDocumentParser parser, File income) throws Exception {
                return parser.parse(XmlUtil.createDocument(income));
	}
}